//
//  aeViewController.m
//  aethyx
//
//  Created by Aethyx on 11/19/2556 BE.
//  Copyright (c) 2556 Forensic. All rights reserved.
//

#import "aeViewController.h"
#import "database.h"

@interface aeViewController ()

@end

@implementation aeViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)at:(id)sender {
    Database *db=[Database getSharedInstance];
    NSInteger RecordID=[db createRecord:[NSDate date]];
}

@end
